Remove unused function symbols
authorVarun Wadekar <[email protected]>
Thu, 10 Jan 2019 23:45:15 +0000 (15:45 -0800)
committerVarun Wadekar <[email protected]>
Thu, 7 Feb 2019 16:47:21 +0000 (08:47 -0800)
This patch removes the unused functions that are marked as .global
in code but not defined anywhere in the code.

Change-Id: Ia5057a77c0b0b4a61043eab868734cd3437304cc
Signed-off-by: Varun Wadekar <[email protected]>
lib/aarch64/misc_helpers.S
plat/common/aarch64/platform_helpers.S
plat/common/aarch64/platform_mp_stack.S
plat/common/aarch64/platform_up_stack.S

index 9aac8cfb9495a7fefff9d4fd5442e6d4452aa1a0..65e9b1e2a768451005c91073a47ad58141199850 100644 (file)
@@ -18,7 +18,6 @@
 
        .globl  zero_normalmem
        .globl  zeromem
-       .globl  zeromem16
        .globl  memcpy16
 
        .globl  disable_mmu_el1
index b5788fba2d01ac191939894420aec4a7f8904a15..b8fd3a2cd6f8f3db07c837bc93890345039598dc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -26,8 +26,6 @@
        .weak   plat_handle_double_fault
        .weak   plat_handle_el3_ea
 
-       .globl  platform_get_core_pos
-
 #define MPIDR_RES_BIT_MASK     0xff000000
 
        /* -----------------------------------------------------
index f1cc6bebdecb0f396f9339bb239d7ffbfa66d147..972a118a45f4d7064e5b427d99b64312103e4648 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -12,8 +12,6 @@
        .local  platform_normal_stacks
        .weak   plat_get_my_stack
        .weak   plat_set_my_stack
-       .globl  platform_get_stack
-       .globl  platform_set_stack
 
        /* ---------------------------------------------------------------------
         * When the compatility layer is disabled, the new platform APIs
index 0ff6930552ebfae553ddea938b701508318ec77c..c6e5e2d74d7f84b257e5b36f99acdf48557bce7c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
@@ -12,8 +12,6 @@
        .local  platform_normal_stacks
        .weak   plat_set_my_stack
        .weak   plat_get_my_stack
-       .weak   platform_set_stack
-       .weak   platform_get_stack
 
        /* -----------------------------------------------------
         * uintptr_t plat_get_my_stack ()